home *** CD-ROM | disk | FTP | other *** search
- '''Attach generally useful information, not specific to any package.
-
- Copyright (C) 2009 Canonical Ltd.
- Author: Matt Zimmerman <mdz@canonical.com>
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2 of the License, or (at your
- option) any later version. See http://www.gnu.org/copyleft/gpl.html for
- the full text of the license.
- '''
-
- import apport.packaging
- from apport.hookutils import *
-
- def add_info(report):
- # if we are running from a live system, add the build timestamp
- attach_file_if_exists(report, '/cdrom/.disk/info', 'MediaBuild')
-
- # XXX - how do we get the package name?
- # attach_conffiles(report, package)
-